'use strict';

var app = angular.module('QC');

app.service('QCEnum', [function(){
    return {
        QCNormType: {
            Number: {Value: 0, Text: '数值'},
            String: {Value: 1, Text: '字符'},
            Bool: {Value: 2, Text: '布尔'},
            Select: {Value: 3, Text: '选择'}
        },
        QCType: {
            FullReview: {Value: 0, Text: '全检'},
            Inspection: {Value: 1, Text: '巡检'},
            FirstQuality: {Value: 2, Text: '首件质检'}
        },
        QCStatus: {
            Qualified: {Value: 0, Text: '合格'},
            NotQualified: {Value: 1, Text: '不合格'},
            Concession: {Value: 2, Text: '让步接收'},
            Decide: {Value: 3, Text: '品质判定'},
            Rework: {Value: 4, Text: '返工'},
            Scrap: {Value: 5, Text: '报废'}
        }
    };
}]);

